<template>
    <button class="btn" @click="handleClick">
        <slot></slot>
    </button>

</template>
<script>
export default {
    name: 'my-button',
    components: {
    },
    data () {
        return {
        }
    },
    computed: {
    },
    watch: {
    },
    methods: {
        handleClick(){
            this.$emit('click')
        }
    },
    created () {
    },
    mounted () {
    },
}
</script>
<style lang="less" scoped>
    @color: #1989fa;
    .btn{
        background: none;
        border: none;
        color: @color;
        padding: 0;
    }
</style>

